//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     彩票游戏实体类库
//     用户登录记录实体对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using System;
using Dapper;
namespace CL.Game.Entity
{

    /// <summary>
    /// CT_UsersLoginRecord 实体
    /// </summary>
    [Table("CT_UsersLoginRecord")]
    public class UsersLoginRecordEntity
    {

        /// <summary>
        /// 流水号
        /// </summary>
        [Key]
        public long ID { get; set; }

        /// <summary>
        /// 用户编号
        /// </summary>
        public long UserID { get; set; }

        /// <summary>
        /// 来源类型：0.pc，1.android，2.ios，3.ipad
        /// </summary>
        public byte SourceType { get; set; }

        /// <summary>
        /// 登陆码
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// 登陆时间
        /// </summary>
        public DateTime LoginTime { get; set; }

        /// <summary>
        /// IP地址
        /// </summary>
        public string IpAddress { get; set; }

    }
}
